<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
</head>
<body>
<!-- components/navbar.html -->
<div class="bottom-nav">
  <a href="index.html" class="nav-item" id="navHome">
    <div class="nav-icon">🏠</div>
    <div>首页</div>
  </a>
  <a href="mall.html" class="nav-item" id="navMall">
    <div class="nav-icon">🛒</div>
    <div>商城</div>
  </a>
  <a href="points.html" class="nav-item" id="navPoints">
    <div class="nav-icon">💳</div>
    <div>积分</div>
  </a>
  <a href="profile.html" class="nav-item" id="navProfile">
    <div class="nav-icon">👤</div>
    <div>我的</div>
  </a>
</div>

<script src="./js/navbar.js"></script> <!-- 将JS分离到单独文件 -->

</body>
</html>
